package com.itxiaoxiong.openone.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GroupUser implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 拼团Id 外键
     */
    private Long groupId;

    /**
     * 用户Id 外键
     */
    private Long userId;

    /**
     * 加入拼团的时间
     */
    private LocalDateTime joinTime;
}
